#pragma once
#include <string>
#include "TRKType.h"
#include<iostream>
#include "WPTType.h"
using namespace std;
class GPXRoot
{
public:
	GPXRoot();
	double maxlat, maxlon, minlat, minlon;
	std::string getTime() const;

	void setTime(std::string val);

	std::string getLinktext() const;

	void setLinktext(std::string val);

	std::string getLink() const;

	void setLink(std::string val);

	double getMinlon() const;

	void setMinlon(double val);

	double getMinlat() const;

	void setMinlat(double val);

	double getMaxlon() const;

	void setMaxlon(double val);

	double getMaxlat() const;

	void setMaxlat(double val);

	std::string getCreator() const;

	void setCreator(std::string val);

	std::string getVersion() const;

	void setVersion(std::string val);

	void printInfo();

	vector<WPTType> waypoints;
	vector<TRKType> tracks;
private:
	// metadata element
	string link, linktext, time;
	
	// <gpx> attributes
	string creator, version;


};




